#ifndef CCHATROOM_H
#define CCHATROOM_H

#include <QObject>
#include "CHandler.h"
class CChatHandler : public CHandler
{
    Q_OBJECT
public:
    explicit CChatHandler(CChatServer*cs, QObject *parent = nullptr) : CHandler(cs,parent)
    {

    }
    void add(CChatSession *session);
    void remove(CChatSession *session);
    void handle(CChatSession*session,QByteArray line);
signals:

public slots:
};

#endif // CCHATROOM_H
